                <div class="container-2">
                	<section class="content">
                    	<div class="list_work">
                        <h4>Daftar Produk</h4>
                        <ul id="mycarousel" class="jcarousel-skin-tango item da-thumbs">
                        <?php
                            $link = koneksi_db();
                                        $sql = "select * from detailproduk";
                                        $hasil = mysql_query($sql,$link) or exit("Error query: <b>".$sql."</b>.");
										while ($data1 = mysql_fetch_assoc($hasil)){
										?>     
                            <li>
                                <img style="height:200px; width:200px" src="admin/server/php/files/small_<?php echo $data1['link']; ?>" alt="" />
                            	<span><?php echo $data1['namakategori']; ?><br><small><?php echo $data1['harga']; ?></small></span>
                                <span class="sale"><?php echo $data1['status']; ?></span>
                                <article class="da-animate da-slideFromRight" style="display: block;">
                                    <h3><?php echo $data1['nama']; ?></h3>
                                    <p>
                                    <a href="product-detail.php?idproduk=<?php echo $data1['idproduk']; ?>" class="link tip" title="LihatDetail"></a>&nbsp;
                                    <a href="keranjang.php?idproduk=<?php echo $data1['idproduk']; ?>" class="cart tip" title="Tambkan ke keranjang"></a>&nbsp;&nbsp;
                                    <a style="width:700px; height:700px;" href="admin/server/php/files/<?php echo $data1['link']; ?>" rel="prettyPhoto[gallery1]" class="zoom tip" title="Perbesar" ></a></p>
                                </article>
                            </li> 
                            <?php
							}
							?>                       
                            </ul>
                    	</div><!--end:list_work-->